package doxygenxml.compound;

/**********************************************************************************************
 * Copyright (c) 2001-2020 Liquid Technologies Limited. All rights reserved.
 * See www.liquid-technologies.com for product details.
 *
 * Please see products End User License Agreement for distribution permissions.
 *
 * WARNING: THIS FILE IS GENERATED
 * Changes made outside of ##HAND_CODED_BLOCK_START blocks will be overwritten
 *
 * Generation  :  by Liquid XML Data Binder 18.0.5.9988
 * Using Schema: CENSORED
 **********************************************************************************************/

// <summary>
// </summary>
public enum DoxImageKind {
	Html,
	Latex,
	Docbook,
	Rtf;

	// Converts a DoxImageKind enumeration to a string (suitable for the XML document)
	public static String DoxImageKindToString(doxygenxml.compound.DoxImageKind enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		switch(enumValue)
		{
		case Html:
	    	return "html";
		case Latex:
	    	return "latex";
		case Docbook:
	    	return "docbook";
		case Rtf:
	    	return "rtf";
		default:
	    	throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxImageKind [" + enumValue.toString() + "]");
		}
	}
	
	// 	Converts a string to a DoxImageKind enumeration
	public static DoxImageKind DoxImageKindFromString(String enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		String enumCollapsedValue = com.liquid_technologies.ltxmllib18.WhitespaceUtils.collapse(enumValue);
		if (enumCollapsedValue.equals("html"))
			return Html;
		else if (enumCollapsedValue.equals("latex"))
			return Latex;
		else if (enumCollapsedValue.equals("docbook"))
			return Docbook;
		else if (enumCollapsedValue.equals("rtf"))
			return Rtf;
		else
			// ##HAND_CODED_BLOCK_START ID="Default Enum doxygenxml.compound.DoxImageKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
			throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxImageKind [" + enumValue + "]");
			// ##HAND_CODED_BLOCK_END ID="Default Enum doxygenxml.compound.DoxImageKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
	}
}

